<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Foren</title>
    </h:head>
    <h:body>
        <div style="text-align: left; font-size: 12pt">
            <h:outputText style="font-size: 20pt;font-weight: bold" value="Thema: #{verwaltung.aktuell.theme}" /><br/><br/> 

            <h:form>

                <h:outputText value="Ihr Beitrag?" /><br /><br/>
                <h:inputTextarea id="newTopic" value="#{reply.message}" required="true" requiredMessage="Bitte Nachricht eingeben!" /><br/>
                <h:commandButton id="addTopicButton" value="Ergänzen" action="#{verwaltung.aktuell.addReply(reply)}" /><br /><br/>
               
                    <h:dataTable value="#{verwaltung.aktuell.replies}" var="rep">
                        <h:column>

                            <h:outputText value="- #{rep.message}"/>

                        </h:column>

                    </h:dataTable>
                
            </h:form>
            <br/><br/><br/>
            <h:link value="Zur Startseite" outcome="#{verwaltung.toStart()}" />
        </div>
    </h:body>
</html>

